feat: Add support for getting Copilot cloud agent configuration#4241
Conversation
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4241 +/- ##
=======================================
Coverage 97.48% 97.48%
=======================================
Files 190 191 +1
Lines 19178 19188 +10
=======================================
+ Hits 18695 18705 +10
Misses 268 268
Partials 215 215 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
59ab5d7 to
4420993
Compare
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @maishivamhoo123!
A couple minor tweaks, please, then we should be ready for any other contributor to this repo to provide a second LGTM+Approval before merging.
cc: @stevehipwell - @alexandear - @zyfy29 - @Not-Dhananjay-Mishra - @munlicode
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
|
@gmlewis, @alexandear, @Not-Dhananjay-Mishra I’ve made all the recommended changes and addressed the review comments. Thank you! |
@gmlewis I made all the changes but it is still failing? |
Ah, yes, you may need to delete the old linters in the |
Signed-off-by: maishivamhoo123 <maishivamhoo@gmail.com>
|
@gmlewis i made all the recommended changes . can you please review this PR. |
There was a problem hiding this comment.
@maishivamhoo123 can you please remove this binary file which get pushed.
There was a problem hiding this comment.
Thank you @Not-Dhananjay-Mishra for pointing this out. Sorry i didn't see this? i will remove this .
|
@Not-Dhananjay-Mishra i removed binary file can you please verify it? Thank you! |
gmlewis
left a comment
There was a problem hiding this comment.
Thank you, @maishivamhoo123 and reviewers!
LGTM.
Merging.


Description
Add support for getting Copilot cloud agent configuration via the GitHub REST API.
Changes
CopilotCloudAgentConfigurationstruct to handle the API responseEnabledToolsstruct for tool configuration detailsGetCopilotCloudAgentConfigurationmethod in CopilotServiceMcpConfigurationfield to use*json.RawMessagefor proper null handlingRelated Issue
Closes #4239
Testing
All existing tests pass and new unit tests validate the functionality.